Teaching object-oriented programming on top of functional programming
نویسندگان
چکیده
In the Informutics Progrumme ut the Technicul University of Denmark, we base the j r s t course in objectoriented programming (using the Juvu lunguuge) on a preceding course in functionulprogrumming (using the SML lunguuge). The students may hence exploit concepts from functionulprogrumrning in the construction of OOprogrums. This is done following U method where the progrum design is expressed in SML and ujlerwurds implemented in Juvu. The use of different lunguuges in design und implementution is an udvuntuge as it mukes the distinction between these two stuges very clem We give examples showing that SML designs allow us to develop und compure 00 implementations with different cluss structures fo r the sume progrummingproblem. A discussion of this kind is not supported in truditionalO0 methodology. The program design in SML hus ulso shown to be useful for the students when documenting the progrum.
منابع مشابه
Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملTeaching Functional Programming to Professional .NET Developers
Functional programming is often taught at universities to first-year or second-year students and most of the teaching materials have been written for this audience. With the recent rise of functional programming in the industry, it becomes important to teach functional concepts to professional developers with deep knowledge of other paradigms, most importantly object-oriented. We present our ex...
متن کاملIssues in the Design of an Object Oriented Programming Language
The object oriented paradigm, which advocates bottom-up program development, appears at rst sight to run counter to the classical, top-down approach of structured programming. The deep requirement of structured programming, however, is that programming should be based on well-de ned abstractions with clear meaning rather than on incidental characteristics of computing machinery. This requiremen...
متن کاملModelsaz: An Object-Oriented Computer-Aided Modeling Environment
Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...
متن کاملThe Learning Psychology of Visual Programming for Object-Orien
A teaching environment featuring a visual object-oriented programming language is an improvement over existing object-oriented teaching methods using textual languages. We propose to create such an environment, which will provide a complete course in objectorientation. The course will be based on the key object-oriented concepts and mechanisms. The visual programming environment will avoid the ...
متن کاملTeaching Object-oriented Programming using Object Benches: Practical Experience
In this paper we summarize our long-term experiences with teaching object-oriented programming in university courses using teaching support tools called object benches. We describe four software tools: BlueJ, Greenfoot, Alice and Visual Studio’s Object test bench. Common feature of those tools is runtime access to objects, their attributes and operations. We present our experience with using ob...
متن کامل